
class KrawDemo : public KrawApp
{
public:
    
    bool Open();
    void Close();
    void Tick( float, float );
    void Draw();

private:
    
}

bool KrawDemo::Open()
{
    //load sample scene
    //setup a few lights of each type
    if ( /*3.0 supported*/ )
        //load shader(s) for single pass lighting
    else
        //load shader for multipass lighting
}

void KrawDemo::Close()
{
    //unload scene
}

void KrawDemo::Tick( float fTime, float fElapsedTime )
{
    //update light visibility depending on type and range
}

void KrawDemo::Draw()
{
    if ( /*using 3.0*/ )
        //render all lights to the shader
        //render geometry once
    else
        //render each light separately
        //additively render geometry
}
